wayland: Keep the drag window alive longer
authorMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jan 2016 16:22:47 +0000 (11:22 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jan 2016 16:22:47 +0000 (11:22 -0500)
commitf9e504d70e90686e32fd0c4b9ceab9f36a05ea53
tree925a7d08f267a3bd72b3ece5e540bf0c2678c970
parentd3aea5c4989b96f09e75f995ea55fc80a936c785
wayland: Keep the drag window alive longer

We destroy the widget that is wrapped around the drag window
when the object data on the drag context gets cleared. Destroying
the window before that happens leads to unpleasantries. E.g. we may
try to access the frame clock, which doesn't exist anymore, and
things go downhill from there. So, keep the window alive for
a little longer.
gdk/wayland/gdkdnd-wayland.c